-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.0.1
-
Code
-
Classes
- ApiController
Total Complexity |
129 |
Dependencies |
5 |
Dependents |
3 |
Total lines |
747 |
Lines of code |
508 |
Logical lines of code |
281 |
Comment lines |
101 |
Methods |
16 |
Properties |
5 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
handleResponse() |
D |
21 |
55 |
174 |
processMediaItem() |
B |
40 |
19 |
53 |
handleNewSuccess() |
B |
36 |
16 |
90 |
getRequest() |
A |
41 |
8 |
55 |
doRequest() |
A |
46 |
8 |
36 |
checkFileSizeMargin() |
S |
55 |
7 |
19 |
dumpMediaItem() |
S |
55 |
4 |
18 |
returnSuccess() |
S |
62 |
3 |
12 |
getInstance() |
S |
73 |
2 |
5 |
__construct() |
S |
71 |
1 |
5 |
encodeURL() |
S |
69 |
1 |
6 |
parseResponse() |
S |
73 |
1 |
5 |
getResultObject() |
S |
67 |
1 |
8 |
returnFailure() |
S |
67 |
1 |
8 |
returnRetry() |
S |
69 |
1 |
7 |
returnOK() |
S |
69 |
1 |
7 |